package com.llynic.designdemo.Observermode;

import java.util.Observable;
import java.util.Observer;

public class ObserverB implements Observer {
    @Override
    public void update(Observable o, Object arg) {
        System.out.printf("观察者B收到了 %s %s",o,arg +"\n");
    }
}
